package designpatterns.flyweight;

public class Flyweight1 implements Flyweight {
    private String key;

    public Flyweight1(String key) {
        this.key = key;
    }

    @Override
    public void operate(UnFlyweight unFlyweight) {
        System.out.println("Flyweight1.operate===, key=" + key);
        System.out.println("UnFlyweight.info====" + unFlyweight.getInfo());
    }
}
